#pragma once
#ifndef xMedia_h__
#define xMedia_h__

#include "../../../dxhead/dxegheader.h"
#include "../../../xlib/xlib.h"
namespace Sky
{
	class xMedia
	{
	public:
		typedef enum _eType
		{
			eType_fx,
			eType_music,
			eType_model,
			eType_image,
			eType_script,
			eType_data
		}eType;
	public:
		xMedia();
		static TBool   SetMediaDirectory(const TChar* mediaDir);
		static TResult FindMediaFile(eType type,/*in*/const TChar* mediaName,/*out*/TChar* fullName,TInt fullNameLen);
		
		
	private:
		static TChar mediaDir[MAX_PATH];
	};
}
#endif // xMedia_h__